package com.net.xpay.common.model;

import com.net.xpay.common.enums.user.CommissionMode;
import com.net.xpay.common.enums.user.ServicePayMode;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * 设置商户服务费
 */
@Getter
@Setter
@NoArgsConstructor
public class UpdateUserServicePriceModel {
    @ApiModelProperty(notes = "用户编号")
    private Long id;

    @ApiModelProperty(notes = "服务费单价 分")
    private Long serviceUnitPrice;

    @ApiModelProperty(notes = "到卡服务费单价 分")
    private Long bankServiceUnitPrice;

    @ApiModelProperty(notes = "分佣模式")
    private CommissionMode commissionMode;

    @ApiModelProperty(notes = "收费模式")
    private ServicePayMode mode;

    @ApiModelProperty(notes = "服务费收费比例")
    private BigDecimal serviceRatio;

    @ApiModelProperty(notes = "到卡服务费收费比例")
    private BigDecimal bankServiceRatio;

    @ApiModelProperty(notes = "合伙人毛利润分佣比例")
    private BigDecimal benefitRatio;

    @ApiModelProperty(notes = "服务费成本价收费比例")
    private BigDecimal costServiceRatio;

    @ApiModelProperty(notes = "到卡服务费成本价收费比例")
    private BigDecimal bankCostServiceRatio;

    @ApiModelProperty(notes = "父合伙人毛利润分佣比例")
    private BigDecimal fatherBenefitRatio;

    @ApiModelProperty(notes = "上级模式")
    private CommissionMode fatherCommissionMode;

    //二级合伙人 成本模式下 上级模式是指定上级费率模式下使用
    @ApiModelProperty(notes = "上级合伙人到户分佣费率")
    private BigDecimal fatherServiceRatio;

    //二级合伙人 成本模式下 上级模式是指定上级费率模式下使用
    @ApiModelProperty(notes = "上级合伙人到卡分佣费率")
    private BigDecimal fatherBankServiceRatio;

}
